<%@page import="org.apache.shiro.subject.Subject"%>
<%@page import="org.apache.shiro.SecurityUtils"%>
<%@page import="com.hzlh.shiro.ShiroUser"%>
<%@page import="com.hzlh.domain.po.LoginAdmin"%>
<%@page import="com.hzlh.domain.po.SystemInitPo"%>

<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<%
	Subject subject = SecurityUtils.getSubject();
	ShiroUser shiroUser = (ShiroUser) subject.getPrincipal();
	LoginAdmin user = shiroUser.getUser();
	SystemInitPo systemInit = shiroUser.getSysInit();
%>

<!-- START PAGE SIDEBAR -->
<div class="page-sidebar">
	<!-- START X-NAVIGATION -->
	<ul class="x-navigation">
		<li class="xn-logo">
			<!-- <a href="index.html">云听</a>
            <a href="#" class="x-navigation-control"></a> --> <%--  <img alt="" src="${ctx}/rs/images/logo_hit.png" style="width:100%"> --%>
		</li>
		<li class="xn-profile"><a href="#" class="profile-mini"> <img
				src="<%=user.getIcon()%>" alt="<shiro:principal/>" />
		</a> <%-- <div class="profile">
                <div class="profile-image">
                    <img src="<%=user.getIcon()%>" alt="<shiro:principal/>"/>
                </div>
                <div class="profile-data">
                    <div class="profile-data-name"><shiro:principal/></div>
                    <div class="profile-data-title"><shiro:principal/></div>
                </div>
                <div class="profile-controls">
                    <a href="pages-profile.html" class="profile-control-left"><span class="fa fa-info"></span></a>
                    <a href="pages-messages.html" class="profile-control-right"><span class="fa fa-envelope"></span></a>
                </div>
            </div> --%></li>
		<li id="menu_main"><a href="${ctx}/send.htm?page=layout/main">
				<span class="fa fa-desktop"></span> <span class="xn-text">首页</span>
		</a></li>

			<li class="xn-openable"><a href="#"><span
					class="fa fa-file-text-o"></span> <span class="xn-text">客户管理</span></a>
				<ul>
						<li id="menu_user_0"><a
							href="${ctx}/send.htm?page=aduser/list"><span
								class="fa fa-users"></span>待审核客户</a></li>
						<li id="menu_user_1"><a
							href="${ctx}/send.htm?page=aduser/mediaUserlist"><span
								class="fa fa-user"></span>媒体客户</a></li>
						<li id="menu_user_2"><a
							href="${ctx}/send.htm?page=aduser/advertiserUserlist"><span
								class="fa fa-user"></span>广告客户</a></li>
				</ul></li>
			<li class="xn-openable"><a href="#"><span
					class="fa fa-file-text-o"></span> <span class="xn-text">充值管理</span></a>
				<ul>
						<li id="menu_account_0"><a
							href="${ctx}/send.htm?page=account/applyList"><span
								class="fa fa-users"></span>充值申请</a></li>
						<li id="menu_account_1"><a
							href="${ctx}/send.htm?page=account/recordList"><span
								class="fa fa-user"></span>充值记录</a></li>
				</ul></li>
            <li class="xn-openable"><a href="#"><span
                    class="fa fa-file-text-o"></span> <span class="xn-text">开票管理</span></a>
                <ul>
                        <li id="menu_billing_0"><a
                            href="${ctx}/send.htm?page=billing/applyList"><span
                                class="fa fa-users"></span>开票申请</a></li>
                        <li id="menu_billing_1"><a
                            href="${ctx}/send.htm?page=billing/recordList"><span
                                class="fa fa-user"></span>开票记录</a></li>
                </ul></li>
            <li class="xn-openable"><a href="#"><span
                    class="fa fa-file-text-o"></span> <span class="xn-text">提现管理</span></a>
                <ul>
                        <li id="menu_withdraw_0"><a
                            href="${ctx}/send.htm?page=withdraw/withApplyList"><span
                                class="fa fa-users"></span>提现审核</a></li>
                        <li id="menu_withdraw_1"><a
                            href="${ctx}/send.htm?page=withdraw/withRecordList"><span
                                class="fa fa-user"></span>提现记录</a></li>
                </ul></li>
            <li class="xn-openable"><a href="#"><span
                    class="fa fa-file-text-o"></span> <span class="xn-text">合同管理</span></a>
                <ul>
                        <li id="menu_contract_0"><a
                            href="${ctx}/send.htm?page=contract/sellList"><span
                                class="fa fa-users"></span>销售合同</a></li>
                        <li id="menu_contract_1"><a
                            href="${ctx}/send.htm?page=contract/buyList"><span
                                class="fa fa-user"></span>采购合同</a></li>
                        <li id="menu_contract_2"><a
                            href="${ctx}/send.htm?page=contract/countList"><span
                                class="fa fa-users"></span>合同统计</a></li>
                </ul></li>
        
			<li class="xn-openable"><a href="#"><span
					class="fa fa-file-text-o"></span> <span class="xn-text">媒体推荐</span></a>
				<ul>
						<li id="menu_media_0"><a
							href="${ctx}/send.htm?page=located/LocatedUserList"><span
								class="fa fa-users"></span>媒体数据设置</a></li>
						<li id="menu_media_1"><a
							href="${ctx}/send.htm?page=compDetail/compDetailStickList"><span
								class="fa fa-user"></span>综合广告推荐</a></li>
						<li id="menu_media_2"><a
							href="${ctx}/send.htm?page=located/LocatedUserListBSQX"><span
								class="fa fa-users"></span>电台数据设置</a></li>
						<li id="menu_media_3"><a
							href="${ctx}/send.htm?page=located/LocatedUserPlatform"><span
								class="fa fa-users"></span>平台资源数据</a></li>
				</ul></li>
            <li class="xn-openable"><a href="#"><span
                    class="fa fa-file-text-o"></span><span class="xn-text">FM广告管理</span></a>
                <ul>
                        <li id="menu_fmgggl_0"><a href="${ctx}/bsqx/toAdOrderList"><span
                                class="fa fa-caret-right"></span>广告接单</a></li>
                        <li id="menu_fmgggl_1"><a
                            href="${ctx}/send.htm?page=bsqx_quotation/timeLevelList"><span
                                class="fa fa-caret-right"></span>报价方案管理</a></li>
                        <li id="menu_fmgggl_2"><a
                            href="${ctx}/bsqx/toBroadcastInfoPage.htm"><span
                                class="fa fa-caret-right"></span>频率报价配置</a></li>
                </ul></li>
			<li class="xn-openable"><a href="#"><span
					class="fa fa-file-text-o"></span> <span class="xn-text">套餐管理</span></a>
				<ul>
						<li id="menu_setMeal_0"><a
							href="${ctx}/send.htm?page=setMeal/setMealList"><span
								class="fa fa-users"></span>套餐列表</a></li>
						<li id="menu_setMeal_1"><a
							href="${ctx}/send.htm?page=setMeal/setMealOrder"><span
								class="fa fa-user"></span>套餐接单</a></li>
				</ul></li>
            <li class="xn-openable"><a href="#"><span
                    class="fa fa-file-text-o"></span> <span class="xn-text">意见反馈</span></a>
                <ul>
                        <li id="menu_feedback_0"><a
                            href="${ctx}/send.htm?page=feedback/mediaNotList"><span
                                class="fa fa-users"></span>媒体主意见反馈</a></li>
                        <li id="menu_feedback_1"><a
                            href="${ctx}/send.htm?page=feedback/adverNotList"><span
                                class="fa fa-user"></span>广告主意见反馈</a></li>
                </ul></li>
			<li class="xn-openable"><a href="#"><span class="fa fa-cog"></span><span
					class="xn-text">系统管理</span></a>
				<ul>
						<li id="menu_sys_0"><a href="${ctx}/send.htm?page=user/list"><span
								class="fa fa-caret-right"></span>操作员管理</a></li>
						<li id="menu_sys_1"><a
							href="${ctx}/send.htm?page=permission/list"><span
								class="fa fa-caret-right"></span>权限管理</a></li>
						<li id="menu_sys_2"><a href="${ctx}/send.htm?page=role/list"><span
								class="fa fa-caret-right"></span>角色管理</a></li>
						<li id="menu_sys_3"><a href="${ctx}/send.htm?page=log/list"><span
								class="fa fa-caret-right"></span>用户操作记录管理</a></li>
						<!--   <li id="menu_sys_4">
                	<a href="${ctx}/send.htm?page=proposal/prop_list"><span class="fa fa-caret-right"></span>意见反馈管理</a>
                </li> -->
						<li id="menu_sys_5"><a
							href="${ctx}/send.htm?page=message/list"><span
								class="fa fa-caret-right"></span>系统消息管理</a></li>
<!-- 					<shiro:hasPermission name="app:list"> -->
						<!--   <li id="menu_sys_6">
                	<a href="${ctx}/send.htm?page=app/list"><span class="fa fa-caret-right"></span>APP版本管理</a>
                </li> -->
<!-- 					</shiro:hasPermission> -->
						<li id="menu_sys_7"><a
							href="${ctx}/send.htm?page=notice/noticeMessList"><span
								class="fa fa-caret-right"></span>系统通知</a></li>
				</ul></li>
		
	</ul>
	<!-- END X-NAVIGATION -->
</div>